package com.elves.auth.config;


import java.time.format.DateTimeFormatter;

public enum AppEnum {

    NAME("name"), NOW_TIME("nowTime"),

    PUBLIC_KEY("publicKey"),

    MISSIONS("missions"), JOBS("jobs"),

    // Cron定时job用
    OBJ_MISSION("mission"), OBJ_SINK("sink"), OBJ_SOURCES("sources"), OBJ_JOB_SERVICE("jobService"), GROUP_NAME("flink");

    public final String val;

    AppEnum(String val) {
        this.val = val;
    }

    /**
     * 时间格式化类
     */
    public static final DateTimeFormatter TIME_FORMATTER = DateTimeFormatter.ofPattern("yyyy/MM/dd HH:mm:ss");

}
